Quaqua 3.9.5 2007-10-21

ch.randelshofer.quaqua.filechooser
Class QuaquaFileSystemView

java.lang.Object
  extended by javax.swing.filechooser.FileSystemView
      extended by ch.randelshofer.quaqua.filechooser.FileSystemViewFilter
          extended by ch.randelshofer.quaqua.filechooser.QuaquaFileSystemView
Direct Known Subclasses:
JaguarFileSystemView, PantherFileSystemView, WindowsFileSystemView14

public abstract class QuaquaFileSystemView
extends FileSystemViewFilter

QuaquaFileSystemView is an enhanced FileSystemView, which provides additional information about a file system required for Aqua file choosers. QuaquaFileSystemView acts as a wrapper on platform specific file system views. The resulting view is an Aqua-style view on the file system.

Version:
2.1 2006-05-07 Use a specialized file system view for Mac OS X Tiger.
2.0 2005-09-10 Moved file system related methods from QuaquaManager into this class.
1.0 August 26, 2005 Created.
Author:
Werner Randelshofer

Field Summary
 
Fields inherited from class ch.randelshofer.quaqua.filechooser.FileSystemViewFilter
target
 
Constructor Summary
QuaquaFileSystemView()
          Creates a new instance.
 
Method Summary
 javax.swing.filechooser.FileView createFileView(javax.swing.JFileChooser chooser)
          Creates a system specific file view for the specified JFileChooser.
abstract  java.io.File getComputer()
          Returns the file that represents this computer node.
static QuaquaFileSystemView getQuaquaFileSystemView()
          Returns a FileSystemView that can be cast into QuaquaFileSystemView.
abstract  java.io.File getSystemVolume()
          Returns the file that represents the system (boot) volume of this computer.
 
Methods inherited from class ch.randelshofer.quaqua.filechooser.FileSystemViewFilter
createFileObject, createFileObject, createNewFolder, getChild, getDefaultDirectory, getFiles, getHomeDirectory, getParentDirectory, getRoots, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isHiddenFile, isParent, isRoot, isTraversable
 
Methods inherited from class javax.swing.filechooser.FileSystemView
createFileSystemRoot, getFileSystemView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuaquaFileSystemView

public QuaquaFileSystemView()
Creates a new instance.

Method Detail

getComputer

public abstract java.io.File getComputer()
Returns the file that represents this computer node.


getSystemVolume

public abstract java.io.File getSystemVolume()
Returns the file that represents the system (boot) volume of this computer.


createFileView

public javax.swing.filechooser.FileView createFileView(javax.swing.JFileChooser chooser)
Creates a system specific file view for the specified JFileChooser.


getQuaquaFileSystemView

public static QuaquaFileSystemView getQuaquaFileSystemView()
Returns a FileSystemView that can be cast into QuaquaFileSystemView.


Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.